﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SupplierAdd.aspx.cs" Inherits="ITOMMS.Web.InsideManage.SupplierAdd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>供货商信息添加</title>
    <link href="../css/layout.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" id='skin' type="text/css" href="../css/skin/qq/ymPrompt.css" />
    <link rel="stylesheet" id='Link1' type="text/css" href="../css/jquery.Validator.Tooltip.css" />

    <script type="text/javascript" src="../js/jquery.pack.js"></script>

    <script type="text/javascript" src="../js/jquery.Validator.js"></script>

    <script type="text/javascript" src="../js/ymPrompt.js"></script>

</head>
<body>
    <form id="aspnetForm" runat="server">
        <div id="message" style="background-color: Red">
        </div>
        <table class="tblDataArea" width="100%">
            <tr class="tblQueryArea">
                <td class="tblDataCaption" colspan="4">
                    <div style="width: 210px;" class="title">
                        <img src="../images/lv3.gif" style="margin-bottom: -3px;" alt="" />供货商信息添加</div>
                    <asp:Button ID="btnBack" CssClass="cssButton" runat="server" Text="返回" OnClick="btnBack_Click" /></td>
            </tr>
            <tr>
                <td class="tdQueryCaption">
                    公司名称：
                </td>
                <td class="tdQueryField">
                    <asp:TextBox ID="txt公司名称" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'" Width="403px"></asp:TextBox><span style="color: #ff0000">*</span></td>
                <td class="tdQueryCaption" style="width: 87px">
                    编 号：</td>
                <td class="tdQueryField">
                    <asp:TextBox ID="txt编号" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tdQueryCaption">
                    电 话：</td>
                <td class="tdQueryField">
                    <asp:TextBox ID="txt电话" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
                <td class="tdQueryCaption" style="width: 87px">
                    传 真：</td>
                <td class="tdQueryField">
                    <asp:TextBox ID="txt值真" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tdQueryCaption">
                    邮政编码：</td>
                <td class="tdQueryField">
                    <asp:TextBox ID="txt邮政编码" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
                <td class="tdQueryCaption" style="width: 87px">
                    区 域：</td>
                <td class="tdQueryField">
                    <asp:TextBox ID="txt区域" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tdQueryCaption">
                    负责人1：</td>
                <td class="tdQueryField">
                    <asp:TextBox ID="txt负责人1" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
                <td class="tdQueryCaption" style="width: 87px">
                    QQ：</td>
                <td class="tdQueryField">
                    <asp:TextBox ID="txt负责人1QQ" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tdQueryCaption">
                    MSN：</td>
                <td class="tdQueryField">
                    <asp:TextBox ID="txt负责人1MSN" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
                <td class="tdQueryCaption" style="width: 87px">
                    电话：</td>
                <td class="tdQueryField">
                    <asp:TextBox ID="负责人1电话" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tdQueryCaption">
                    手机：</td>
                <td class="tdQueryField">
                    <asp:TextBox ID="txt负责人1手机" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
                <td class="tdQueryCaption" style="width: 87px">
                    邮箱：</td>
                <td class="tdQueryField">
                    <asp:TextBox ID="txt负责人1邮箱" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tdQueryCaption">
                    负责人2：</td>
                <td class="tdQueryField">
                    <asp:TextBox ID="txt负责人2" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
                <td class="tdQueryCaption" style="width: 87px">
                    QQ：</td>
                <td class="tdQueryField">
                    <asp:TextBox ID="txt负责人2QQ" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tdQueryCaption">
                    MSN：</td>
                <td class="tdQueryField">
                    <asp:TextBox ID="txt负责人2MSN" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
                <td class="tdQueryCaption" style="width: 87px">
                    电话：</td>
                <td class="tdQueryField">
                    <asp:TextBox ID="txt负责人2电话" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tdQueryCaption">
                    手机：</td>
                <td class="tdQueryField">
                    <asp:TextBox ID="txt负责人2手机" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
                <td class="tdQueryCaption" style="width: 87px">
                    邮箱：</td>
                <td class="tdQueryField">
                    <asp:TextBox ID="txt负责人2邮箱" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tdQueryCaption">
                    公司地址：</td>
                <td class="tdQueryField">
                    <asp:TextBox ID="txt公司地址" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'" Width="404px"></asp:TextBox></td>
                <td class="tdQueryCaption" style="width: 87px">
                </td>
                <td class="tdQueryField">
                </td>
            </tr>
            <tr>
                <td class="tdQueryCaption">
                    开户银行：</td>
                <td class="tdQueryField">
                    <asp:TextBox ID="txt开户银行" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'" Width="404px"></asp:TextBox></td>
                <td class="tdQueryCaption" style="width: 87px">
                </td>
                <td class="tdQueryField">
                </td>
            </tr>
            <tr>
                <td class="tdQueryCaption">
                    银行账号：</td>
                <td class="tdQueryField">
                    <asp:TextBox ID="txt银行账号" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'" Width="404px"></asp:TextBox></td>
                <td class="tdQueryCaption" style="width: 87px">
                </td>
                <td class="tdQueryField">
                </td>
            </tr>
            <tr>
                <td class="tdQueryCaption">
                    税 号：</td>
                <td class="tdQueryField">
                    <asp:TextBox ID="txt税号" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'" Width="404px"></asp:TextBox></td>
                <td class="tdQueryCaption" style="width: 87px">
                </td>
                <td class="tdQueryField">
                </td>
            </tr>
            <tr>
                <td class="tdQueryCaption">
                    公司经营范围：</td>
                <td class="tdQueryField" colspan="3">
                    <asp:TextBox ID="txt公司经营范围" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'" Width="404px"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tdQueryCaption">
                    公司代理产品：</td>
                <td class="tdQueryField" colspan="3">
                    <asp:TextBox ID="txt公司代理产品" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'" Width="404px"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tdQueryCaption" style="height: 120px;">
                    备注：</td>
                <td class="tdQueryField" colspan="3" style="height: 120px">
                    <asp:TextBox ID="txt备注" runat="server" class="input_out" Height="161px" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'" TextMode="MultiLine" Width="628px"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tblDataCaption">
                </td>
                <td class="tblDataCaption">
                    <asp:Button ID="btnSave" CssClass="cssButton" runat="server" Text="提交" OnClientClick="javascript:return confirm('你确认要提交吗?');"
                        OnClick="btnSave_Click" /></td>
                <td class="tblDataCaption" style="width: 87px">
                </td>
                <td class="tblDataCaption">
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
    <script type="text/javascript">

function check()
{
	if($.GetValidResult())/*验证表单*/
	{	
	    return true; 
	}
	else
	{
	    return false;
	}
}

    $("#txt公司名称").attr("dataType","Require");
    $("#txt公司名称").attr("tip", "公司名称不能为空");
    
    
      
                
</script>

